#include "H/Function_Init.H"

void Motor_1_Stop(void)
{
	M1AH = 1;
	M1BH = 1;
	M1AL = 0;
	M1BL = 0;
}

void Motor_2_Stop(void)
{
	M2AH = 1;
	M2BH = 1;
	M2AL = 0;
	M2BL = 0;
}

void Motor_3_Stop(void)
{
	M3AH = 1;
	M3BH = 1;
	M3AL = 0;
	M3BL = 0;
}

void Motor_1_Forward(void)
{
	M1AH = 0;
	M1BH = 1;
	M1AL = 0;
	M1BL = 1;
}

void Motor_1_Reverse(void)
{
	M1AH = 1;
	M1BH = 0;
	M1AL = 1;
	M1BL = 0;
}

void Motor_2_Forward(void)
{
	M2AH = 0;
	M2BH = 1;
	M2AL = 0;
	M2BL = 1;
}

void Motor_2_Reverse(void)
{
	M2AH = 1;
	M2BH = 0;
	M2AL = 1;
	M2BL = 0;
}

void Motor_3_Forward(void)
{
	M3AH = 0;
	M3BH = 1;
	M3AL = 0;
	M3BL = 1;
}

void Motor_3_Reverse(void)
{
	M3AH = 1;
	M3BH = 0;
	M3AL = 1;
	M3BL = 0;
}
